package Service;

import domain.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Rain
 * @Description :
 * @date 2022/08/19 19:24
 */
public interface AccountService {
    List<Account> findAll();

    void addAccount(Account account);

    void removeAccountById(@Param("id") int id);

    void updateAccount(Account account);
}
